<!DOCTYPE html >
<html lang="en">
<head>
    <title>git列表显示</title>
    <link rel="stylesheet" href="//cdn.bootcss.com/bootstrap/3.3.5/css/bootstrap.min.css">
    <script type="text/javascript" src="http://cdn.hcharts.cn/jquery/jquery-1.8.3.min.js"></script>
    <script type="text/javascript" src="http://cdn.hcharts.cn/highcharts/highcharts.js"></script>
</head>
<body>
<div class="container">
    <ul class="nav navbar-nav">
        <li><a href="#">列表显示</a></li>
        <li><a href="/gitproject/total_data_html">每个人总数</a></li>
        <li><a href="/gitproject/every_total_html">每个人每天总数</a></li>
        <li><a href="/gitproject/create_html">添加项目</a></li>
        <li><a href="/gitproject/update_html">修改项目</a></li>
        <li><a href="/gitproject/git_start">start</a></li>
    </ul>
    <div class="jumbotron" >
        <h1>git日志图表显示</h1>
    </div>

    <table class="table table-hover" id="table">
        <tr>
            <th>用户</th>
            <th>提交时间</th>
            <th>被修改的文件数</th>
            <th>增加的行数</th>
            <th>删除的行数</th>
            <th>项目</th>
            <th>隶属分支</th>
        </tr>
        {% for log in logs %}
            <tr>
                <th>{{ log.author.nickname }}</th>
                <th>{{ log.datetime }}</th>
                <th>{{ log.files }}</th>
                <th>{{ log.add }}</th>
                <th>{{ log.remove }}</th>
                <th>{{ log.branch.project.pro_name }}</th>
                <th>{{ log.branch.branch_name }}</th>
            </tr>
        {% endfor %}
    </table>
</div>
<script src="../static/js/histogram.js" type="text/javascript"></script>
</body>
</html>